import { Tools } from 'weaver-mobile';

//获取修改金额日志list
export const getPopupList = params => {
  return Tools.callApi({
      url: '/api/fna/workflow/amountLog',
      method: 'GET',
      params,
  });
};

//获取修改金额的表单
export const getPopupEditForm = params => {
  return Tools.callApi({
      url: '/api/fna/workflow/getPopupEditForm',
      method: 'GET',
      params,
  });
};

//获取流程提交状态
export const submitStatus = params => {
	return Tools.callApi({
    url: '/api/fna/workflow/submitStatus',
    method: 'GET',
    params,
  });
}

//单内序号(借款流程)
export const queryDtlRowData_borrow = params => {
  return Tools.callApi({
    url: '/api/fna/workflow/billNumber_borrow',
    method: 'GET',
    params,
  });
}

//单内序号(预付款流程)
export const queryDtlRowData_advance = params => {
  return Tools.callApi({
    url: '/api/fna/workflow/billNumber_advance',
    method: 'GET',
    params,
  });
}

//获取借款信息
export const borrowInfoData = params => {
	return Tools.callApi({
    url: '/api/fna/workflow/borrowInfo',
    method: 'GET',
    params,
  });
}

//获取预付款信息
export const advanceInfoData = params => {
	return Tools.callApi({
    url: '/api/fna/workflow/advanceInfo',
    method: 'GET',
    params,
  });
}